package com.lablzh.gdxy.repository.admin;

import com.lablzh.gdxy.entity.admin.Subject;
import org.springframework.data.jpa.repository.JpaRepository;

public interface SubjectRepository extends JpaRepository<Subject,Integer> {

    Subject findByName(String name);

}
